#include "Factory.h"

AbstractProductA* Factory1::CreatProductA()const
{
	return new ProductA1;
}

AbstractProductB* Factory1::CreatProductB()const
{
	return new ProductB1;
}

AbstractProductA* Factory2::CreatProductA() const
{
	return new ProductA2;
}

AbstractProductB* Factory2::CreatProductB() const
{
	return new ProductB2;
}
